#ifdef OSGI_USE_15S_HEADER
#include "../interface/InterfaceDef.h"
#include "osgi-core/osgi-predefined.h"
#else
#ifndef IAllocator_h__
#define IAllocator_h__

#include "osgi-predefined.h"

OSGI_NAMESPACE_BEGIN

OSGI_INTERFACE IAllocator
{
	virtual ~IAllocator() {}

	virtual void* OSGI_API Allocate(int lengthOfByte) = 0;
	virtual void OSGI_API Free(void* ptr) = 0;
};

OSGI_NAMESPACE_END

#endif // IAllocator_h__

#endif
